﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AdminM.Master" AutoEventWireup="true" CodeBehind="TianjiaGonggao.aspx.cs" Inherits="XqWebSite.WebForm28" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">


        .style6
    {
        width: 174px;
            background-color: #8F9B82;
        }
        .style9
        {
            height: 9px;
        background-color: #8F9B82;
            text-decoration: underline;
        }
    .style8
    {
        text-align: center;
        font-family: 华文隶书;
        font-size: larger;
            color: #A3BAA5;
            background-color: #DDDFDB;
        }
        .style10
        {
            width: 100%;
        }
        .style11
        {
            text-align: right;
            width: 290px;
            color: #000000;
        }
        .style12
        {
            width: 290px;
        }
        .style13
        {
            text-align: left;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="style1" style="height: 564px; width: 100%;">
        <tr>
            <td class="style6" rowspan="2">
                <asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1" 
                        StaticDisplayLevels="2" style="font-family: 楷体">
                </asp:Menu>
            </td>
            <td class="style9">
                <asp:SiteMapPath ID="SiteMapPath1" runat="server" style="font-family: 楷体" 
                    SiteMapProvider="AdminSiteMap">
                </asp:SiteMapPath>
            </td>
        </tr>
        <tr>
            <td class="style8">
                <table class="style10">
                    <tr>
                        <td colspan="2" style="color: #FFFFFF" class="style13">
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            添加通知公告</td>
                    </tr>
                    <tr>
                        <td class="style11">
                            发布内容:</td>
                        <td class="style13">
                            <asp:TextBox ID="Tex_nr" runat="server"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                ErrorMessage="输入不能为空！" ControlToValidate="Tex_nr" style="color: #CC3300"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style11">
                            发布时间:</td>
                        <td class="style13">
                            <asp:TextBox ID="Tex_time" runat="server"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                ErrorMessage="输入不能为空！" ControlToValidate="Tex_time" style="color: #CC3300"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style11">
                            发布人ID:</td>
                        <td class="style13">
                            <asp:DropDownList ID="DropDownList1" runat="server" 
                                DataSourceID="SqlDataSource1" DataTextField="ID" DataValueField="ID">
                            </asp:DropDownList>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                ErrorMessage="请选择您的ID！" ControlToValidate="DropDownList1" 
                                style="color: #CC3300"></asp:RequiredFieldValidator>
                            <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                                ConnectionString="<%$ ConnectionStrings:WuYeGuanLiConnectionString %>" 
                                SelectCommand="SELECT [ID] FROM [Admin]"></asp:SqlDataSource>
                        </td>
                    </tr>
                    <tr>
                        <td class="style12">
                            &nbsp;</td>
                        <td style="text-align: left">
                            <asp:Button ID="But_tj" runat="server" style="text-align: left" Text="提交" 
                                onclick="But_tj_Click" />
&nbsp;&nbsp;&nbsp;
                            <asp:Button ID="But_qx" runat="server" style="text-align: left" Text="取消" 
                                onclick="But_qx_Click" />
                        </td>
                    </tr>
                </table>
                <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" 
                        SiteMapProvider="AdminSiteMap" />
            </td>
        </tr>
    </table>
</asp:Content>
